#!/usr/local/bin/python3
# -*- coding: utf-8 -*-

"""
@File    : func_test.py
@Author  : Link
@Time    : 2022/8/13 21:08
@Mark    : 
"""
from ui_component.ui_main.te.ui_processing import ProcessWidget
from workspace_core.li import DfCore

if __name__ == '__main__':
    import sys
    from PySide2.QtWidgets import QApplication, QWidget

    li = DfCore()
    li.read_by_obj('distribution')
    li.calculation_cpk()

    app = QApplication(sys.argv)
    win = ProcessWidget()
    win.set_data(li)
    win.show()
    win.gen_listView()
    sys.exit(app.exec_())
